from django.urls import path

from Robots.views import RemoteOJDetailAPIView,RemoteOJAPIView,RobotAccountAPIView,RobotAccountDetailAPIView
from rest_framework.urlpatterns import format_suffix_patterns


urlpatterns = [
    path('remoteoj/', RemoteOJAPIView.as_view()),
    path('remoteoj/<int:pk>', RemoteOJDetailAPIView.as_view()),
    path('account/', RobotAccountAPIView.as_view()),
    path('account/<int:pk>', RobotAccountDetailAPIView.as_view())
]

urlpatterns = format_suffix_patterns(urlpatterns)